package com.saas.common.annotation;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface DistributedLock {

    String key() default "distributedLock";

    long expiredTime() default 30L;

    int maxToRenewNum() default 30;
}